
<div class="book-content" th:if="${coverImg == null}">
	<h1 th:if="${msgTopic != null}" th:text="${msgTopic}">topic</h1>
	<!--h2 th:if="${msgStartTime != null}" th:text="'开始:' + ${msgStartTime}">2015-07-07 10:00:00</h2>
	<h2 th:if="${msgEndTime != null}" th:text="'结束:' + ${msgEndTime}">2015-07-08 10:00:00</h2-->
	<hr th:if="${msgTopic != null}" />
	<img class="circle-image"
		style="widht: 30px; height: 30px; display: inline;"
		th:if="${adminAvatar != null and msgTopic != null}"
		th:src="${adminAvatar}" /> 
	<span
		th:if="${adminName != null and msgTopic != null}"
		th:text="${adminName}">范客生活 </span>

	<p class="capital" th:if="${msgDesc != null}" th:text="${msgDesc}">description</p>
   
   <h2 th:if="${msgDate != null}" th:text="${msgDate}">2015-07-07 10:00:00</h2> 
   <blockquote th:if="${msgText != null and msgDate != null}" th:text="${msgText}">abc</blockquote>
   <hr th:if="${msgText != null}" /> 
   <cite th:if="${msgText != null}">   
     <img class="circle-image" style="widht:30px;height:30px;display:inline;" th:if="${adminAvatar != null and msgDate != null}" th:src="${adminAvatar}" />
     <span th:if="${adminName != null and msgDate != null}" th:text="${adminName}">范客生活</span>     
   </cite>
   
   <img class="zoom-this " style="max-width:400px;max-height:500px;display:block;margin:-50px auto;" th:if="${msgUrl != null and msgImg != null}" th:src="${msgUrl}" />
   <video th:if="${msgUrl != null and msgImg == null}" controls="" width="400">
		<source th:src="${msgUrl}" type="video/mp4" />Your browser does not support HTML5 video.
   </video>
</div>


<div class="book-content" th:if="${coverImg != null}" style="margin:0">
   <img th:if="${coverImg != null}" th:src="${coverImg}" style="margin:60px 30px;max-width:460px;max-height:460px;vertical-align:middle" />
</div>

<span th:if="${coverImg == null}" class="page-number" th:text="${pageNum}">1</span>